import React from 'react'
export default class Test extends React.Component{
    render(){
        return <div>
            {this.props.data}
            <button onClick={()=>{this.props.change(123)}}>改变</button>
        </div>
    }
}